package meijuli.com.join51.business.model;

import java.io.Serializable;
import java.util.List;

/**
 * 请描述使用该类使用方法！！！
 *
 * @author wenqin 2017-04-16 17:24
 */

public class ResArray<T> implements Serializable{

    private int code = -1;
    private List<T> data;
    private Page page;
    private String msg;
    private String goodsDetailUrl;
    public static long CODE_SUCCESS = 0;               // 请求成功
    public static long CODE_INVALID_TOKEN = 110002;    // 无效Token
    public static long CODE_TOKEN_EXPIRED = 110001;    // Token已过期
    public static long CODE_COMPLETE_INFO = 100027;    // 资料未完善

    public String getGoodsDetailUrl() {
        return goodsDetailUrl;
    }

    public void setGoodsDetailUrl(String goodsDetailUrl) {
        this.goodsDetailUrl = goodsDetailUrl;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<T> getData() {
        return data;
    }

    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
